package com.adderis.soft.domain.dao;

import java.util.List;

import com.adderis.soft.domain.model.Densite;

/**
 * DAO for domain model class Densite.
 * 
 * @see com.adderis.soft.domain.model.Densite
 * @author Reda
 */
public interface IDensiteDao {

	/**
	 * Persist a Densite entity in the database
	 * 
	 * @param transientDensite
	 */
	public void persist(Densite transientDensite);
 
	/**
	 * Remove a persisted Densite from the database
	 * 
	 * @param persistentDensite
	 */
	public void remove(Densite persistentDensite);
 
	/**
	 * Remove a persisted Densite from the database
	 * 
	 * @param DensiteId
	 */
	public void remove(Integer DensiteId);
 
	/**
	 * Update a Densite in the database
	 * 
	 * @param detachedDensite
	 * @return merged Densite
	 */
	public Densite merge(Densite detachedDensite);
 
	/**
	 * Find a Densite by id
	 * 
	 * @param id
	 * @return the found Densite
	 */
	public Densite findById(Integer id);
 
	/**
	 * Find a list of Densite
	 * 
	 * @return the found Densite
	 */
	public List<Densite> findAll();
 
	/**
	 * Search Densites
	 * 
	 * @param searchString
	 * @return the found Densites
	 */
	public List<Densite> search(String searchString);
	
	

}
